package com.ruoyi.project.warehouseSystem.mapper;

import java.util.List;
import com.ruoyi.project.warehouseSystem.domain.CWarehouseMessage;

/**
 * 不同仓库的存储量查询Mapper接口
 * 
 * @author wangshuo
 * @date 2021-07-18
 */
public interface CWarehouseMessageMapper 
{
    /**
     * 查询不同仓库的存储量查询
     * 
     * @param id 不同仓库的存储量查询ID
     * @return 不同仓库的存储量查询
     */
    public CWarehouseMessage selectCWarehouseMessageById(Long id);

    /**
     * 查询不同仓库的存储量查询列表
     * 
     * @param cWarehouseMessage 不同仓库的存储量查询
     * @return 不同仓库的存储量查询集合
     */
    public List<CWarehouseMessage> selectCWarehouseMessageList(CWarehouseMessage cWarehouseMessage);

    /**
     * 新增不同仓库的存储量查询
     * 
     * @param cWarehouseMessage 不同仓库的存储量查询
     * @return 结果
     */
    public int insertCWarehouseMessage(CWarehouseMessage cWarehouseMessage);

    /**
     * 修改不同仓库的存储量查询
     * 
     * @param cWarehouseMessage 不同仓库的存储量查询
     * @return 结果
     */
    public int updateCWarehouseMessage(CWarehouseMessage cWarehouseMessage);

    /**
     * 删除不同仓库的存储量查询
     * 
     * @param id 不同仓库的存储量查询ID
     * @return 结果
     */
    public int deleteCWarehouseMessageById(Long id);

    /**
     * 批量删除不同仓库的存储量查询
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCWarehouseMessageByIds(Long[] ids);
}
